2008-02-08 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
delta from the NSEvent for now, generating multiple scroll events
results in a lot of events getting queued up and things get really
slow.
svn path=/trunk/; revision=19499
+2008-02-08 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
+ delta from the NSEvent for now, generating multiple scroll events
+ results in a lot of events getting queued up and things get really
+ slow.
+
2008-02-08 Sven Herzberg <sven@imendio.com>
Adjust the code to match the documentation, examples, "common sense"
event = create_scroll_event (window, nsevent, direction);
append_event (event);
dy--;
+
+ /* Ignore the delta for now, things get too slow when the events queue up. */
+ break;
}
/* Now do x events */
event = create_scroll_event (window, nsevent, direction);
append_event (event);
dx--;
+
+ /* Ignore the delta for now, things get too slow when the events queue up. */
+ break;
}
}